package com.example.birdfriends.pojo.praise;

import org.apache.ibatis.type.Alias;

import java.sql.Timestamp;

@Alias("praise")  // 点赞实体类
public class Praise {
    private Long praiseId;
    private Timestamp createAt;
    private Long pid;
    private Long uid;

    public void print() {
        System.out.println( "Praise{" +
                "praiseId=" + praiseId +
                ", createAt=" + createAt +
                ", pid=" + pid +
                ", uid=" + uid +
                '}');
    }

    public Long getPraiseId() {
        return praiseId;
    }

    public Timestamp getCreateAt() {
        return createAt;
    }

    public Long getPid() {
        return pid;
    }

    public Long getUid() {
        return uid;
    }

    public void setPraiseId(Long praiseId) {
        this.praiseId = praiseId;
    }

    public void setCreateAt(Timestamp createAt) {
        this.createAt = createAt;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }
}
